package com.park.web.model.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.park.web.model.domain.wfProcessnode;
import lombok.Data;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;

@Data
public class WfProcessNodeVo {

    private String id;

    private String flowName;

    private Integer flowType;

    private String reMark;

    private String createUserID;

    private Date createTime;

    private List<wfProcessnode> processNodeList;

    private List<Connection> notProcessNodeList = new LinkedList<>();

    private List<Connection> connectionList;

    @Data
    public static class Connection {
        @JsonProperty("FromShapeId")
        private String FromShapeId;
        @JsonProperty("Title")
        private String Title;
        @JsonProperty("ToShapeId")
        private String ToShapeId;
    }
}

